package com.zcy.auth.mapper;

import com.zcy.auth.domain.RolePermission;
import com.zcy.auth.dto.RoleDTO;
import com.zcy.basic.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色-权限对应关系 Mapper 接口
 * </p>
 *
 * @author lucker
 * @since 2023-12-03
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    void addBatch(RoleDTO roleDTO);

    void deleteByRoleId(Serializable id);

    List<String> querySnListByEmployeeId(Serializable id);
}
